import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/mongoose';
import { Menu, MenuDocument } from './entities/menu.entity';
import { Model } from 'mongoose';
import { BaseService } from 'src/common/mongodb/BaseService';

@Injectable()
export class MenuService extends BaseService<MenuDocument> {
  constructor(
    @InjectModel(Menu.name)
    private menuModel: Model<MenuDocument>,
  ) {
    super(menuModel);
  }
}
